{% extends './frame.html' %}

{% block body %}
<table class="table table-hover">
  <thead>
    <tr>
      <th>name</th>
      <th>mtime <a href="/webadmin/docfiles/?sort=mt"><span class="glyphicon glyphicon-triangle-top"></span></a> <a href="/webadmin/docfiles/?sort=mtr"><span class="glyphicon glyphicon-triangle-bottom"></span></a></th>
      <th>ntime <a href="/webadmin/docfiles/?sort=nt"><span class="glyphicon glyphicon-triangle-top"></span></a> <a href="/webadmin/docfiles/?sort=ntr"><span class="glyphicon glyphicon-triangle-bottom"></span></a></th>
    </tr>
  </thead>
  <tbody>
  {% for each in fileList %}
    <tr>
      <td>{{each.filename}}</td>
      <td>{{each.mtime|date:"Y.m.d"}}</td>
      <td>{{each.ntime}} <a href="/tactic/?name={{ each.name|urlencode }}&stru={{ each.stru|urlencode }}" target="_blank"><span class="glyphicon glyphicon-new-window"></span></a></td>
    </tr>
  {% endfor %}
  </tbody>
</table>


{% endblock body %}